import FSMManager from "./FSMManager";

export default class FSMState {
    // 状态ID
    StateID: number = -1;
    // 所属的状态拥有者
    stateComponent: cc.Component;
    // 所属的状态管理器
    fsmManager: FSMManager = null;

    constructor(StateID: number, stateComponent: cc.Component, fsmManager: FSMManager) {
        this.StateID = StateID;
        this.stateComponent = stateComponent;
        this.fsmManager = fsmManager;
    }

    // 进入状态
    OnEnter() {

    }
    // 状态更新
    OnUpdate() {

    }
}
